ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh
32

java.lang.NullPointerException when using ORDER BY

== 0)) ORDER BY r.startDateTime DESC If we remove the ORDER BY part, the query completes OK ... : Caused by: java.lang.IllegalStateException: com.objectdb.o.InternalException: Unexpected internal ... more                                                                                           Caused by: com.objectdb.o.InternalException: Unexpected
32

Mapped By Fetch is very Slow

Well ! I think i pointed out a HUGE performance issue with mapped-by attribute (yeah ... , go the MyEntity class and remove "mapped-by". You obtain 1 second max of query fetch. So my performance issue ... .ALL,mappedBy = "myEntity") // Test by adding / remove "mappedBy" public MyEntityChild getEntityChild
32

Pre-detach loading: retrieval by navigation not working in if statement

-why-retrieval-by-navigation-and-access webel Dr Darren Kelly It could be some sort of JVM optimization ... system a BooleanValue wrapper is ultimately an Element that can be referenced by ID, and meets a uniform and powerful ... the whole story. webel Dr Darren Kelly By JVM optimizations I meant JIT Compiler optimizations and not
32

Strange behaviour with ORDER BY and IN

Hi, after trying out objectdb for a while now and being quite impressed by its speed and overall performance I noticed a strange behaviour where an ORDER BY - directive isn't executed as ... by a simple member (e.g. a String) being the Entity-ID and, at the same time, filter on this member
32

ORDER BY problem, when String starts with language specific character

Dear all, I have a problem with ORDER BY clause. I have a simple query: select u from User u order by u.name When the name starts with "normal/english" character, records are ordered correctly ... an extension to JPQL and JDOQL) you can use the Normalizer expression directly in the query ORDER BY clause
32

Suspected memleak caused by bad state of EntityManager

and using. We find a slow memleak in our application recently, and by trace of Entity construct and finalize, we found the problem is caused by bad state of EntityManager. After first throwing ... and retrieved by EntityManagerFactory, and the instances of Entity constructed by ObjectDB
31

Should derived fields of an EmbeddedId be manually maintained by app code?

, of type ECompoundKeyMapItem, identified by their "key" within the EContainer class. The items ... "ECompoundKeyMapSubItem", identified by their keys. The embeddedId for the item class, ECompoundKeyMapItemId ... = parent; } [ObjectDB 2.3.0_01] Unexpected exception (Error 990) Generated by Java HotSpot(TM
31

Merge of entity classes with "mapped by" very slow

Hi, I have found a strange behavior when merging entities with "mapped by" set on @OneToMany ... - one with mapped by, second with adding entities list without "mapped by". The difference is huge event for such small objects - 2ms (without mapped by) vs ~50ms (with mapped by) Is there any chance
6

Removed entities can be found by query in the same transaction

Hello, we opened a transaction, load an entity from database and removed this entity by em.remove(). Afterwards the entity can be load again by query although the resulted entity have an attribute ... to that transaction. Every snapshot represents a picture of the database as seen by a particular transaction
0

[ODB1] Chapter 7 - JDOQL Queries

= (Collection)query.execute(); Queries are represented by the javax.jdo.Query interface. A Query instance is constructed by one of the PersistenceManager's newQuery(...) methods. For example, in ... compilation succeeds, the Extent of Person instances in the database is iterated object by object

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support